package com.itheima.test1110work2;
//鹦鹉类 子类
public class bird1 extends Bird{
    private String color;

    public bird1(String kind, double weight, String sound, double speed, String color) {
        super(kind, weight, sound, speed);
        this.color = color;
    }
    public bird1() {}

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
